/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package plantcolorrmiserver;

import com.plantplaces.dto.Plant;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 *
 * @author Brandan
 */
public class PlantColor extends UnicastRemoteObject implements IPlantColor {


    public PlantColor() throws RemoteException
    {
        super();
    }
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
    }

    @Override
    public Plant getPlant(int red, int green, int blue) {
        Plant thisPlant = new Plant();
        thisPlant.setGenus("Abies");
        thisPlant.setSpecies("cilicica");
        thisPlant.setCommon("Cilician Fir");
        thisPlant.setCultivar("Foltz");
        return thisPlant;
    }
}
